$OpenBSD: patch-gcc_lto_lto_c,v 1.2 2016/12/28 21:48:21 pascal Exp $
--- gcc/lto/lto.c.orig	Wed Nov 23 15:31:16 2016
+++ gcc/lto/lto.c	Fri Dec 23 18:25:18 2016
@@ -2956,6 +2956,12 @@ read_cgraph_and_symbols (unsigned nfiles, const char *
   all_file_decl_data = NULL;
 }
 
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+	return NULL;
+}
+
 
 /* Materialize all the bodies for all the nodes in the callgraph.  */
 
